#ifndef __W32_UART_APP_H__
#define __W32_UART_APP_H__


/*** Public Header File ***/ 
#include "main.h"

/*** DEFINE ***/

#define SERIAL_PORT_CHECK_MAXNUM 	30 //

/*** STRUCT ***/

/*** External Value ***/

/*** External Function ***/
#define CFG_WIN32_UART_APP
#ifdef  CFG_WIN32_UART_APP
extern uint8_t SerialPortList_UpdataAndShow(void);
extern uint8_t SerialPort_GetActiveNum(void);
extern int Check_ComNum_IsActive(uint8_t ComNum);

extern int AppTask_W32Uart_Rx(void* pPara);
extern int W32UartApp_BindCBF(int (*pFunc)(uint8_t ch));

// extern int Win32_Uart_App_Init(void);
extern int Win32_Uart_App_Init(uint8_t ComNum,int BaudRate,uint8_t RxShowFlag);
#endif

// #define CFG_GET_UART_PARA	//
#ifdef  CFG_GET_UART_PARA

extern int W32Uart_GetPara_Sequence(uint8_t* pComNum,int* pBaudRate);

#endif


#endif

